﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Ghy.Soft.Web.Models.AdminLoginModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>管理后台</title>
    <link rel="Stylesheet" href="../../Content/Admin/css/reset.css" />
    <link rel="Stylesheet" href="../../Content/Admin/css/style.css" />
</head>
<body id="login">
    <div id="login-wrapper" class="png_bg">
        <div id="login-top">
            <h1>
                Admin</h1>
            <img id="logo" src="../../Content/Admin/images/logo.png" alt="logo" /></div>
        <div id="login-content">
            <%using (Html.BeginForm("Login","Admin"))
              {%>
            <div class="notification information png_bg">
                <div>
                    欢迎来到管理后台，请输入用户名和密码进行登录
                    <%= Html.ValidationSummary(true, "登录不成功。请更正错误并重试。") %>
                </div>
            </div>
            <p>
                <%=Html.LabelFor(m => m.AdminName)%>
                <%=Html.TextBoxFor(m => m.AdminName, new { @class = "text-input" })%>
            </p>
            <div class="clear">
            </div>
            <p>
                <%=Html.LabelFor(m => m.Password)%>
                <%=Html.PasswordFor(m => m.Password, new { @class = "text-input" })%>
            </p>
            <div class="clear">
            </div>
            <p>
               <input type="submit" class="button" value="登录"/>
            </p>
            <%} %>
        </div>
    </div>
</body>
</html>
